package uk.ac.cam.juliet.zedcat.db;

public class EmailRecord {

	/*
	 * A class which represents a record in the tblEmail table.
	 */
	
	String smtpAddress;
	int smtpPort;
	String fromAddress;
	String toAddress;
	
	public EmailRecord(String smtpAddress, int smtpPort, String fromAddress,
			String toAddress) {
		this.smtpAddress = smtpAddress;
		this.smtpPort = smtpPort;
		this.fromAddress = fromAddress;
		this.toAddress = toAddress;
	}

	public String getSmtpAddress() {
		return smtpAddress;
	}

	public int getSmtpPort() {
		return smtpPort;
	}

	public String getFromAddress() {
		return fromAddress;
	}

	public String getToAddress() {
		return toAddress;
	}
	
	
}
